﻿using System;
using System.Collections.Generic;
using System.Linq;
using WPay.Domain.Model.Entities;

namespace Model.DTO.Manager
{
    public class MenuModuleListDTO
    {
        public string ModuleName { get; set; }
        public List<MenuChildModuleListDTO> ChildModule { get; set; }
        public IQueryable<model2> model2s { get; set; }
        public string ID { get; set; }
    }
    public class MenuChildModuleListDTO
    {
        public string ID { get; set; }
        public string ModuleName { get; set; }
        public List<MenuChildActionListDTO> ChildAction { get; set; }
        public List<MenuThreeChildModuleListDTO> ThreeChildModule { get; set; }
    }
    public class MenuThreeChildModuleListDTO
    {

        public string ID { get; set; }
        public string ModuleName { get; set; }
        public List<MenuChildActionListDTO> ChildAction { get; set; }
    }
    public class MenuChildActionListDTO
    {
        public string ID { get; set; }
        public string ModuleId { get; set; }
        public string ActionName { get; set; }
        public bool IsCheck { get; set; }
        public int Weight { get; set; }
        public bool IsMenu { get; set; }
    }

    public class model1
    {
        public string ModuleName { get; set; }
        public string ID { get; set; }
        public IEnumerable<SysModuleAction> ModuleActions { get; set; }

    }
    public class model2
    {
        public string ModuleName { get; set; }
        public string ID { get; set; }
        public IEnumerable<SysModuleAction> ModuleActions { get; set; }
        public IEnumerable<model1> c { get; set; }
        public string PID { get; set; }

    }
    public class model3
    {
       
        public IEnumerable<SysRoleAction> RoleActions { get; set; }

    }
}

